package com.aispace.taichu.modules.listener;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class TaiChuEvent<T> extends ApplicationEvent {

    private final T entity;

    public TaiChuEvent(Object source, T entity) {
        super(source);
        this.entity = entity;
    }

}
